package yc.star.system.service;


import yc.star.system.domain.question.dto.QuestionAddDTO;
import yc.star.system.domain.question.dto.QuestionEditDTO;
import yc.star.system.domain.question.dto.QuestionQueryDto;
import yc.star.system.domain.question.vo.QuestionDetailVO;
import yc.star.system.domain.question.vo.QuestionVO;

import java.util.List;

public interface IQuestionService {

    // 根据条件查找相应的题目列表
    List<QuestionVO> list(QuestionQueryDto questionQueryDto);

    boolean add(QuestionAddDTO questionAddDTO);

    QuestionDetailVO detail(Long questionId);

    int edit(QuestionEditDTO questionEditDTO);

    int delete(Long questionId);
}